package com.niuwa.p2p.vo.productTemplate;

import java.math.BigDecimal;

/**
 * 产品信息表
 */
public class ProductVo {

	/** 产品编号 */
	private String productCode;
	/** 产品模板ID */
	private long tempId;
	/** 产品名称 */
	private String productName;
	/** 产品简介 */
	private String prodDesc;
	/** 到期状态 */
	private String expireStatus;
	/** 投资人数 */
	private int investorCount;
	/** 产品到期日 */
	private String expireTime;
	/** 起售时间 */
	private String startSellTime;
	/** 停售时间 */
	private String endSellTime;
	/** 创建时间 */
	private String createTime;
	/** 产品类型 */
	private String prodKind;
	/** 开放用户 */
	private String openCustomer;
	/** 用户来源 */
	private String customerOrigin;
	/** 发布时间 */
	private String releaseTime;
	/** 有效期限 */
	private int validTerm;
	/** 是否限制有效期限 */
	private String isValidTerm;
	/** 起售金额 */
	private BigDecimal minAmount;
	/** 购买上限 */
	private BigDecimal maxAmount;
	/** 递增金额 */
	private BigDecimal stepAmount;
	/** 附加收益 */
	private BigDecimal addYield;
	/** 操作人 */
	private long operator;
	/** 审核人 */
	private long auditor;
	/** 最低持有期限 */
	private int minHoldTerm;
	/** 持有期限周期 */
	private String holdTermType;
	/** 完成进度 */
	private BigDecimal completedProgress;
	
	
	/** 项目金额（借款金额） */
	private BigDecimal loanAmount;
	
	/** 借款利率 */
	private BigDecimal interestRate;
	
	/** 项目状态 */
	private String releaseStatus;
	
	/** 项目期限（借款期限） */
	private int loanTerm;
	
	/** 期限类型 */
	private String timeType;
	
	/** 操作人名称 */
	private String operatorName;
	
	/** 审核人名称 */
	private String auditorName;
	
	
	/**
	 * 项目编号
	 */
	private java.lang.String projectNo;
	
	private String projectName;
	
	/**
	 * 所属项目（编号 + 名称）
	 */
	private String belongProject; 
	
	/** 项目类型 */
	private String projectType;
	
	/**
	 * 投标截止时间
	 */
	private java.util.Date bidStopTime;
	
	/**
	 * 是否允许转让
	 */
	private java.lang.String isTrans;
	/**
	 * 逾期服务费率
	 */
	private double overdueServiceRate;
	/**
	 * 转让费率
	 */
	private double transRate;
	
	/**
	 * 协议id
	 */
	private String[] protId;
	

	public ProductVo() {

	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public long getTempId() {
		return tempId;
	}

	public void setTempId(long tempId) {
		this.tempId = tempId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProdDesc() {
		return prodDesc;
	}

	public void setProdDesc(String prodDesc) {
		this.prodDesc = prodDesc;
	}

	public String getExpireStatus() {
		return expireStatus;
	}

	public void setExpireStatus(String expireStatus) {
		this.expireStatus = expireStatus;
	}

	public int getInvestorCount() {
		return investorCount;
	}

	public void setInvestorCount(int investorCount) {
		this.investorCount = investorCount;
	}

	public String getExpireTime() {
		if("0000-0-00 12:00:00".equals(expireTime)){
			expireTime = "";
		}
		return expireTime;
	}

	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}

	public String getStartSellTime() {
		if("0000-0-00 12:00:00".equals(startSellTime)){
			startSellTime = "";
		}
		return startSellTime;
	}

	public void setStartSellTime(String startSellTime) {
		this.startSellTime = startSellTime;
	}

	public String getEndSellTime() {
		if("0000-0-00 12:00:00".equals(endSellTime)){
			endSellTime = "";
		}
		return endSellTime;
	}

	public void setEndSellTime(String endSellTime) {
		this.endSellTime = endSellTime;
	}

	public String getCreateTime() {
		if("0000-0-00 12:00:00".equals(createTime)){
			createTime = "";
		}
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getProdKind() {
		return prodKind;
	}

	public void setProdKind(String prodKind) {
		this.prodKind = prodKind;
	}

	public String getOpenCustomer() {
		return openCustomer;
	}

	public void setOpenCustomer(String openCustomer) {
		this.openCustomer = openCustomer;
	}

	public String getCustomerOrigin() {
		return customerOrigin;
	}

	public void setCustomerOrigin(String customerOrigin) {
		this.customerOrigin = customerOrigin;
	}

	public String getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(String releaseTime) {
		this.releaseTime = releaseTime;
	}

	public int getValidTerm() {
		return validTerm;
	}

	public void setValidTerm(int validTerm) {
		this.validTerm = validTerm;
	}

	public String getIsValidTerm() {
		return isValidTerm;
	}

	public void setIsValidTerm(String isValidTerm) {
		this.isValidTerm = isValidTerm;
	}

	public BigDecimal getMinAmount() {
		return minAmount;
	}

	public void setMinAmount(BigDecimal minAmount) {
		this.minAmount = minAmount;
	}

	public BigDecimal getMaxAmount() {
		return maxAmount;
	}

	public void setMaxAmount(BigDecimal maxAmount) {
		this.maxAmount = maxAmount;
	}

	public BigDecimal getStepAmount() {
		return stepAmount;
	}

	public void setStepAmount(BigDecimal stepAmount) {
		this.stepAmount = stepAmount;
	}

	public BigDecimal getAddYield() {
		return addYield;
	}

	public void setAddYield(BigDecimal addYield) {
		this.addYield = addYield;
	}

	public long getOperator() {
		return operator;
	}

	public void setOperator(long operator) {
		this.operator = operator;
	}

	public long getAuditor() {
		return auditor;
	}

	public void setAuditor(long auditor) {
		this.auditor = auditor;
	}

	public int getMinHoldTerm() {
		return minHoldTerm;
	}

	public void setMinHoldTerm(int minHoldTerm) {
		this.minHoldTerm = minHoldTerm;
	}

	public String getHoldTermType() {
		return holdTermType;
	}

	public void setHoldTermType(String holdTermType) {
		this.holdTermType = holdTermType;
	}

	public BigDecimal getCompletedProgress() {
		return completedProgress;
	}

	public void setCompletedProgress(BigDecimal completedProgress) {
		this.completedProgress = completedProgress;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public String getReleaseStatus() {
		return releaseStatus;
	}

	public void setReleaseStatus(String releaseStatus) {
		this.releaseStatus = releaseStatus;
	}

	public int getLoanTerm() {
		return loanTerm;
	}

	public void setLoanTerm(int loanTerm) {
		this.loanTerm = loanTerm;
	}

	public String getTimeType() {
		return timeType;
	}

	public void setTimeType(String timeType) {
		this.timeType = timeType;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getAuditorName() {
		return auditorName;
	}

	public void setAuditorName(String auditorName) {
		this.auditorName = auditorName;
	}

	public java.lang.String getProjectNo() {
		return projectNo;
	}

	public void setProjectNo(java.lang.String projectNo) {
		this.projectNo = projectNo;
	}

	public java.util.Date getBidStopTime() {
		return bidStopTime;
	}

	public void setBidStopTime(java.util.Date bidStopTime) {
		this.bidStopTime = bidStopTime;
	}

	public java.lang.String getIsTrans() {
		return isTrans;
	}

	public void setIsTrans(java.lang.String isTrans) {
		this.isTrans = isTrans;
	}

	public double getOverdueServiceRate() {
		return overdueServiceRate;
	}

	public void setOverdueServiceRate(double overdueServiceRate) {
		this.overdueServiceRate = overdueServiceRate;
	}

	public double getTransRate() {
		return transRate;
	}

	public void setTransRate(double transRate) {
		this.transRate = transRate;
	}

	public String[] getProtId() {
		return protId;
	}

	public void setProtId(String[] protId) {
		this.protId = protId;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getBelongProject() {
		belongProject = this.projectNo + ',' + this.projectName;
		return belongProject;
	}

	public void setBelongProject(String belongProject) {
		this.belongProject = belongProject;
	}

	public String getProjectType() {
		return projectType;
	}

	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}

}